﻿using System;

namespace JTActiveSafety.Gateway
{
    public static class ServiceLocator
    {
        /// <summary>
        /// 通过 ServiceLocator.Instance.GetService~T() 获取注册的服务;  注意：不能获取 Scoped 服务
        /// </summary>
        public static IServiceProvider Instance { get; set; }
    }
}
